package com.cyq.day15.Demo5;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请选择你的职业1.猎人 2.医生 3.农民 4.士兵 5.盗贼");
        int input=scanner.nextInt();
        switch(input){
            case 1:
                Hunter hunter=new Hunter("伊泽瑞尔",6,1000);
                hunter.show();
                hunter.attack();
                hunter.hunting();
                break;
            case 2:
                Doctor doctor=new Doctor();
        }
    }
}
